<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ include file="/sys/include/header.jsp" %>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
<title></title>
<style type="text/css">
body{
	margin:10px;  
	font-size:0.9em;
}
a{
	color:#F00;
}
.STYLE1 {color: #FF0000}
</style>
<!-- extjs -->
<link rel="stylesheet" type="text/css" href="sys/extjs/css/ext-all.css">
<script type="text/javascript" src="sys/extjs/js/ext-base.js"></script>
<script type="text/javascript" src="sys/extjs/js/ext-all.js"></script>
<script type="text/javascript" src="sys/js/include/Calendar2.js"></script>
<link rel="stylesheet" type="text/css" href="sys/extjs/css/tables-example.css">	
<link href="sys/style01/css/table.css" rel="stylesheet" type="text/css" /> 
<link rel="stylesheet" href="sys/style01/css/tab-view.css" type="text/css" media="screen">
<link href="sys/style01/date/css/banzu.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript"> 
	function selectShiyebu(shiyebuValue){
		if(shiyebuValue!='')
			document.form1.submit();
	}
</script>
<body class="ridgeBody">
<table align="center" width="100%"><tr><td align="center">
<form name="form1" method="post" action="hr/createEmpInfo.action"  >
<div id="tabs1" >
<div id="part1" class="x-hide-display">
	<table class=datatable width="100%" cellpadding='0' cellspacing='0' border='1' bordercolordark='white' bordercolorlight='#BEBEBE'>
	     
	    <tr>
	        <td height="22" with="25%" nowrap="nowrap" class="datatr1">事业部：</td>
	        <td height="22" with="25%">
	        	<select class="selectwidth" name="shiyebu" id="shiyebu" onChange="selectShiyebu(this.options[selectedIndex].value)"  >
		            <option value="" selected>请选择</option>
		            <c:forEach items="${shiyebuList}" var="shiyebu">
						<option value="${shiyebu.commonCode}">${shiyebu.commonValue}</option>	
					</c:forEach>
		        </select>
			</td>
	        
	    </tr>
    </table>
	</div>
	</div>
<script type="text/javascript">
	Ext.onReady(function(){
	    // basic tabs 1, built from existing content
	    var tabs = new Ext.TabPanel({
	        renderTo: 'tabs1',
	        width:700,
	        activeTab: 0,
	        frame:true,
	        defaults:{autoHeight: true},
	        items:[
	            {contentEl:'part1', title: '选择添加人员的事业部'}
	        ]
	    });   
	});
	
	
</script>
</form>
</td></tr></table>
</body>
</html> 

